package com.longjianghuasheng.logistics.business.inquiry.adapter

import com.chad.library.adapter.base.BaseNodeAdapter
import com.chad.library.adapter.base.entity.node.BaseNode
import com.longjianghuasheng.logistics.business.inquiry.*

class ServiceSelectionAdapter : BaseNodeAdapter() {





    override fun getItemType(data: List<BaseNode>, position: Int): Int {

        return when (data[position]) {
            is FirstNode -> TYPE_0
            is SecondNode -> TYPE_1
            is ThirdNode -> TYPE_2
            else -> -1
        }

    }
}